namespace com.adjust.sdk.purchase
{
	public static class ADJPLogLevelExtension
	{
		public static string LowercaseToString(this ADJPLogLevel adjustPurchaseLogLevel)
		{
			return adjustPurchaseLogLevel switch
			{
				ADJPLogLevel.Verbose => "verbose", 
				ADJPLogLevel.Debug => "debug", 
				ADJPLogLevel.Info => "info", 
				ADJPLogLevel.Warn => "warn", 
				ADJPLogLevel.Error => "error", 
				ADJPLogLevel.Assert => "assert", 
				_ => "unknown", 
			};
		}

		public static string UppercaseToString(this ADJPLogLevel adjustPurchaseLogLevel)
		{
			return adjustPurchaseLogLevel switch
			{
				ADJPLogLevel.Verbose => "VERBOSE", 
				ADJPLogLevel.Debug => "DEBUG", 
				ADJPLogLevel.Info => "INFO", 
				ADJPLogLevel.Warn => "WARN", 
				ADJPLogLevel.Error => "ERROR", 
				ADJPLogLevel.Assert => "ASSERT", 
				_ => "UNKNOWN", 
			};
		}
	}
}
